package mybatis34.dao;

import mybatis34.entity.User;

public class UserDaoImpl {
    private  sqlSession;
    public UserDaoImpl(sqlSession sqlSession){this.sqlSession = sqlSession;}
    public User findUserById(int id){
        User user = sqlSession.selectOne("findUserById",id);
        return user;
    }
}
